package com.leapp.sk.ui.activity.album

import android.os.Bundle
import com.example.mvp.activity.BaseActivityMVP
import com.example.mvp.binder.BaseDataBinder
import com.leapp.sk.R
import com.leapp.sk.bean.AlbumEntity
import com.leapp.sk.binder.BaseBinder
import com.leapp.sk.viewdelegate.album.AlbumManagerDelegate

/**
 * 相册管理
 * @author  chaohaipeng  on 2018/8/13.
 */
class AlbumManagerActivity : BaseActivityMVP<AlbumManagerDelegate>() {
    override fun initDate() {
        val mutableListOf = mutableListOf<AlbumEntity>()
        for (i in 0..3) {
            mutableListOf.add(AlbumEntity())
        }
        viewDelegate.initAdapter(this, mutableListOf)
    }

    override fun getDelegateClass(): Class<AlbumManagerDelegate> {
        return AlbumManagerDelegate::class.java
    }

    override fun initView(p0: Bundle?) {
        viewDelegate.setTitle(resources.getString(R.string.string_album_class_manager))
    }

    override fun bindEvenListener() {
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }


}